
#pragma once

#include <vector>
#include <algorithm>

class Solution344
{
public:
	void reverseString(std::vector<char>& s) 
	{
		size_t i = 0;
		size_t j = s.size()-1;

		while (i<j)
		{
			std::swap(s[i], s[j]);
			++i;
			--j;
		}
	}
};